<?php
/**
 * Base_App
 *
 * LICENSE
 *
 * This source file is subject to the new CC-GNU LGPL
 * It is available through the world-wide-web at this URL:
 * http://creativecommons.org/licenses/LGPL/2.1/
 *
 * @category   Base_App
 * @copyright  Copyright (c) 2009 Alexander fanatique* Thomas (me@alexander-thomas.net)
 * @license    http://creativecommons.org/licenses/LGPL/2.1/
 */

class Base_App_Initialization_Exception extends Zend_Exception{
	const ENVIRONMENT = 1;
	const APPLICATION_CONFIGURATION = 2;
	const LOGGER = 3;
	const DATABASE = 4;
	const ACL_CACHE = 5;
	const ACL = 6;
	const BUILDNUMBER = 7;
	
	function __construct($error_code){
		$this->code = $error_code;
	}
	
	public function getErrorCode(){
		return $this->code;
	}
}
?>
